Oranssi PB2	DDB2 / PINB2 / PORTB2 - PCINT10 Button 1
PA7 Punainen    DDA7 / PINA7 / PORTA7 - PCINT7	Button 2
PA3 Sininen		DDA3 / PINA3 / PORTA3 - PCINT3	Button 3
PA2 vihreä	DDA2 / PINA2 / PORTA2 - PCINT2	Button 4

------
// set lfuse to 0x5E for 20 MHz xtal

#define F_CPU 20000000UL
#include <avr/io.h>
#include <util/delay.h>


#define LOW 0
#define HIGH 1

#define INPUT(port,pin) DDR ## port &= ~(1<<pin) // 
#define OUTPUT(port,pin) DDR ## port |= (1<<pin) //  as output
#define CLEAR(port,pin) PORT ## port &= ~(1<<pin) // set port to LOW
#define SET(port,pin) PORT ## port |= (1<<pin) // set port to HIGH
#define TOGGLE(port,pin) PORT ## port ^= (1<<pin) // flip the port
#define READ(port,pin) ((PIN ## port & (1<<pin))